package work20241121;

import java.util.Scanner;

/**
 * @author zdl
 * @date 2024/11/21
 */
public class Demo1 {
    public static void main(String[] args) {
        Scanner sc =new Scanner(System.in);
        System.out.println("请输入账号:");
        int user = sc.nextInt();
        System.out.println("请输入密码:");
        int pwd = sc.nextInt();
        if(user == 123 && pwd == 123){
            System.out.println("登录成功");
        }else {
            System.out.println("登录失败");
        }
    }
}
